home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-06
/
envtrim.zip
/
00README.TXT
next >
Wrap
Text File
|
1992-08-31
|
1KB
|
38 lines
ENVTRIM
DOS Environment Variable Truncation
Version 1, December, 1990
Written by
Douglas Bigelow and David Todd
Wesleyan University
Middletown, CT
hdtodd@mockingbird.wesleyan.edu
ENVTRIM trims from the left or right to a specified count of
characters the value associated with environment variable and re-stores
that variable and value to the environment area. One or more environment
variables can be truncated in a single invocation of ENVTRIM. The
environment variables in the PARENT process are modified.
This capability is useful, for example, for truncating full
Novell Netware username strings to 3-character strings used by
network-aware programs such as WordPerfect.
Files in the distribution set:
00README.TXT
this file
ENVTRIM.EXE
envtrim executable
ENVTRIM.MAN
user man page on use of envtrim
MAKEFILE
makefile to create envtrim from C sources
ENVTRIM.C
TURBO C source code for ENVTRIM